package edu.zut2.inner_demo;

public class Main {

    public static void main(String[] args) {
        InnerDemo innerDemo = new InnerDemo();
        innerDemo.msg = "这是一个外部类";
        InnerDemo.inner_A inner_a = new InnerDemo.inner_A();
        inner_a.num = 200;
        inner_a.test_a();

        InnerDemo.inner_B inner_b = innerDemo.new inner_B();
        inner_b.num = 300;
        inner_b.test_b();

    }

}
